package com.isoft.student.dao;

import com.isoft.student.eo.JurisdictionEOPage;
import com.isoft.student.model.Jurisdiction;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 操作数据库方法的对接
 */
@Mapper
public interface JurisdictionMapper {

    //权限添加
    int insertJurisdiction(Jurisdiction jurisdiction);
    //通过角色名称获取数量
    int getInterfacenameCount(String interfacename);
    //权限更新
    int updateJurisdiction(Jurisdiction jurisdiction);
    //权限列表信息查询
    List<JurisdictionEOPage> getJurisdictionWhereAll(JurisdictionEOPage jurisdictionEOPage);
}
